#ifndef VIEWPROCESS_H
#define VIEWPROCESS_H
#include <QObject>
#include <ncurses.h>

class Process
{
public:
    Process();
    ~Process();
    void createWindow();
    Process(int lines, int cols);
    void load();
    void rush();
    void config();

    bool checkInput(std::string in, const QList<int>& list);
    bool checkInput(char in, const QList<char>& list);

private:
    WINDOW* m_window;
    int m_lines;
    int m_cols;
    int m_currentLine;
};


#endif // VIEWPROCESS_H
